﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

/* Gareth Williams
 * Starfox has many different kinds of palette indices, currently I am just 
 * implementing the basic pallettes
 * 20 pallettes with 32 colours per pallette and 4bits per colour
 */

namespace VuzixSample.model.snes.starfox
{
    public class StarFoxPallettes
    {
        public static Color[,] pallettes;
        public static int currentPallette;

        //convenience method
        public static Color getColourForIndex(int indexedColour)
        {
            return pallettes[currentPallette, indexedColour];
        }
    }
}
